Clean up spinlock operations and compile as first-class functions.
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 20 Oct 2008 15:48:17 +0000 (16:48 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 20 Oct 2008 15:48:17 +0000 (16:48 +0100)
commit0b99d7118c4e4b79ff492b7458d7370479522aa4
tree74b21d626a187577840bb58e12036d32ff41430e
parent8e75cae72a33c531e2ca39adf834fcad8fca2307
Clean up spinlock operations and compile as first-class functions.

This follows modern Linux, since apparently outlining spinlock
operations does not slow down execution. The cleanups will also allow
more convenient addition of diagnostic code.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/x86_64/mm.c
xen/common/Makefile
xen/common/spinlock.c [new file with mode: 0644]
xen/include/asm-ia64/linux-xen/asm/spinlock.h
xen/include/asm-ia64/xenspinlock.h [deleted file]
xen/include/asm-x86/spinlock.h
xen/include/xen/spinlock.h